package org.jpass.dc.business.user.dao;

import java.util.List;

import org.jpass.dc.business.user.bean.UserVOBean;
import org.jpass.dc.common.bean.Page;

public interface UserManageDao {

	/**用户注册
	 * @param voBean 用户对象
	 */
	public void addUser(UserVOBean voBean) throws Exception;
	
	/**修改用户信息
	 * @param voBean 用户对象
	 */
	public void updateUser(UserVOBean voBean) throws Exception;
	
	/**根据email返回用户信息
	 */
	public UserVOBean findUserByEmail(String email) throws Exception;
	
	/**返回所有用户信息
	 */
	public List findAllUserList() throws Exception;
	
	/**返回后台管理所有用户信息
	 */
	public List findBackUserList(Page page, String findUsername) throws Exception;
	
	/**根据ID查询用户
	 */
	public UserVOBean findUserById(String userId) throws Exception;
	
	/**删除用户
	 */
	public boolean deleteUserObj(UserVOBean user) throws Exception;
	
	
	
	
}
